package com.nbot.server.service;

import com.nbot.server.domain.CctvDO;

import java.util.List;
import java.util.Map;

/**
 * 摄像头状态监控
 * 
 * @author nbot
 * @email nbot@163.com
 * @date 2018-07-19 20:07:17
 */
public interface CctvService {
	
	CctvDO get(Long autoId);
	
	List<CctvDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CctvDO cctv);
	
	int update(CctvDO cctv);
	
	int remove(Long autoId);
	
	int batchRemove(Long[] autoIds);

	CctvDO getByTag(String ip);

	int getMaxAutoid();
}
